﻿@model Domain.Security.AuthorizationRule

@{
    ViewData["Title"] = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<div>
    <h4>RequestAuthorizationRule</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.HandlerMethodSignature)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.HandlerMethodSignature)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.TypeFullName)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.TypeFullName)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.IdentificationKey)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.IdentificationKey)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.AuthorizationRuleConfigJson)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.AuthorizationRuleConfigJson)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Remark)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Remark)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.OrderNumber)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.OrderNumber)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.RowVersion)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.RowVersion)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.IsEnable)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.IsEnable)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.IsDeleted)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.IsDeleted)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.CreationTime)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.CreationTime)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.LastModificationTime)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.LastModificationTime)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.CreationUser)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.CreationUser.Id)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.LastModificationUser)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.LastModificationUser.Id)
        </dd>
    </dl>
    
    <form asp-action="Delete">
        <input type="hidden" asp-for="Id" />
        <input type="submit" value="Delete" class="btn btn-default" /> |
        <a asp-action="Index">Back to List</a>
    </form>
</div>
